package com.paradox.rpc.protocol;

import com.paradox.rpc.protocol.Netty.NettyServer;
import com.paradox.rpc.registry.NativeRegistry;

public class ServerFactory {
    public static ParadoxServer getServer(String opt){
        if("netty".equals(opt)){
            return new NettyServer(new NativeRegistry());
        }else{
            return null;
        }
    }
}
